package com.sc.service;

import com.github.pagehelper.PageInfo;
import com.sc.pojo.Menu;
import com.sc.pojo.Role;
import com.sc.pojo.User;

import java.util.List;
public interface RoleSerice {
    public Role query(Integer id);
    public PageInfo<Role> show(Integer pageNum, Integer pageSize,String keyword);
    public int add(Role r);
    public int del(Integer id);
    public int upd(Role r);
    public int delAll(Integer[] ids);
    public int openAll(Integer[] ids);
    public int closeAll(Integer[] ids);
    public void saveMenu(Integer[] menuIds, Integer roleid );
}
